Skip to content

Comments

setup: Simplify build of abi3 wheels and add tests#3433

Merged
bdarnell merged 3 commits intotornadoweb:masterfrom
bdarnell:abi3audit
Oct 24, 2024
Merged

setup: Simplify build of abi3 wheels and add tests#3433
bdarnell merged 3 commits intotornadoweb:masterfrom
bdarnell:abi3audit

Conversation

@bdarnell
Copy link
Member

Our hacky override of the bdist_wheel command is no longer necessary and will stop working in future versions of setuptools. Remove it, and add tests with the abi3audit package to ensure that our official releases remain abi3-compatible.

This PR replaces #3425 which fixed the future-setuptools compatibility but left the override in place.

macos-12 is leaving support soon; macos-15 is currently the
latest version.

See actions/runner-images#10721
This is no longer necessary in recent versions of setuptools
(and we now check that abi3 is used properly in official releases).
The bdist_wheel implementation is being moved from the wheel package
into setuptools so overriding it will stop working in the future.

Follows the example of joerick/python-abi3-package-sample#30

Replaces tornadoweb#3425
@tacaswell
Copy link

I can confirm that this works with setuptools main branch.

Deleting complexity is better than making it more complex 🤣

@bdarnell bdarnell merged commit 385fd88 into tornadoweb:master Oct 24, 2024
@bdarnell bdarnell deleted the abi3audit branch October 24, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants